#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QString>
#include <QWidget>
#include <QMainWindow>
#include "QMessageBox"
#include <QVideoWidget>
#include <QPainter>
#include <QPushButton>
#include "myvideowidget.h"

class Mybutton:public QPushButton
{
	Q_OBJECT
	public:
		Mybutton(Myvideowidget *);
		~Mybutton(){}
	private:
		Myvideowidget * video;
	
	signals:
		void clicked();
	
	public slots:
		void slotClicked();
	
	protected:
		void mousePressEvent(QMouseEvent* event);
};

#endif 
